package com.ayoka.mvp;

import com.ayoka.base.BasePresenter;
import com.ayoka.base.IBaseView;
import com.ayoka.bean.CourseAssignmentBean;
import com.ayoka.mvp.CourseAssignmentAppreciateMVP.CourseAssignmentAppreciateModel.ChildPhotoBean;

import java.io.File;
import java.util.List;

/**
 * Created by gabriel on 2017/3/5.
 */

public interface CourseAssignmentAppreciateMVP {

    interface CourseAssignmentAppreciateModel {

        class ChildPhotoBean{

            public int ID;
            public int Uid;
            public String ImgUrl;
        }
    }

    interface ICourseAssignmentAppreciateView extends IBaseView {

        void configCourseAssignmentDetailData(CourseAssignmentBean data);

        void configUserPictureListData(List<ChildPhotoBean> result);

        void onUploadChildPictureSuccess(ChildPhotoBean data);
    }

    class CourseAssignmentAppreciatePresenter extends BasePresenter<ICourseAssignmentAppreciateView> {

        public void getCourseAssignmentDetailData(int courseAssignmentId, int taskId) {

        }

        public void getUserChildPictureListData() {

        }

        public void uploadChildPicture(File file) {

        }
    }

}
